package com.one.blocks.rbac.controller.convert;

import com.one.blocks.rbac.controller.convert.worker.BaseDomainConvert;
import com.one.blocks.rbac.controller.convert.worker.TimeConvert;
import com.one.blocks.rbac.controller.query.SysAccountQuery;
import com.one.blocks.rbac.controller.vo.SysAccountVo;
import com.one.blocks.rbac.domain.SysAccount;
import com.one.blocks.security.util.SubjectHelper;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author <a href="mailto:idler41@163.con">idler41</a> created on 2022-05-01 10:06:14
 */
@Mapper(uses = {TimeConvert.class}, imports = {SubjectHelper.class})
public interface SysAccountConvert extends BaseDomainConvert<SysAccount, SysAccountVo, SysAccountQuery> {

    SysAccountConvert INSTANCE = Mappers.getMapper(SysAccountConvert.class);
}